package cn.iocoder.yudao.module.dlbz.controller.admin.companyemployee.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 企业员工新增/修改 Request VO")
@Data
public class CompanyEmployeeSaveReqVO {

    @Schema(description = "唯一ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26493")
    private Long id;

    @Schema(description = "关联企业ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27056")
    @NotNull(message = "关联企业ID不能为空")
    private Long companyId;

    @Schema(description = "岗位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6339")
    @NotNull(message = "岗位ID不能为空")
    private Long postId;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "姓名不能为空")
    private String name;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "手机号不能为空")
    private String phone;

    @Schema(description = "头像")
    private String img;

    @Schema(description = "联系人电话", example = "9712")
    private String openid;

    @Schema(description = "积分")
    private Integer score;

}